Calling super with no arguments

On Mar 20, 2008, at 4:50 PM, Daniel F. wrote:

end
end

class B < A
def initialize var
puts “making a #{var} b”
super
super()

When you call super as a bare word, it passes the args from the
enclosing method automatically, to force it to pass no args you need
to use super() .

Cheers-